package com.gettec.lims.client.services;


import java.util.List;

import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.gettec.lims.shared.model.RegSheet;
import com.gettec.lims.shared.model.SampleInfo;
import com.gettec.lims.shared.model.SysUser;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@RemoteServiceRelativePath("nims-service")  
public interface NnimsService extends RemoteService {

	void createNewFeed();  
	RegSheet showRegSheetFormPage();
	List<SysUser> getUserList();
	List<RegSheet> getClientSerialList();
	//SampleInfo showSampleInfoView();
	 public PagingLoadResult<SampleInfo> getSampleInfos(PagingLoadConfig config);
	 public PagingLoadResult<RegSheet> getRegSheets(PagingLoadConfig config);
	 public int deleteRegSheet(RegSheet regSheet);
	 public int updateRegSheet(RegSheet regSheet);
   // Feed createNewFeed();  
    public int saveRegSheet(RegSheet regSheet);  
    public int saveSampleInfo(SampleInfo sampleInfo);  
    public List<SampleInfo> loadSampleInfoList();
} 
